import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;


public class PreConversorSVG {

	public static void convert(String fileNameIn, String fileNameOut){
		try {
			FileInputStream	svgFileIn=new FileInputStream(fileNameIn);
			DataInputStream svgInput = new DataInputStream (svgFileIn);
			FileOutputStream svgFileOut=new FileOutputStream(fileNameOut);
			DataOutputStream svgOutput = new DataOutputStream (svgFileOut);
			
			String str;
			while (null != ((str = svgInput.readLine()))) {
				str = str.replaceAll("attrib:", "");
				str+='\n';
				svgOutput.writeBytes(str);
			}
		} catch(Exception e){
			e.printStackTrace();
		}
	}
}
	
